<br />
<table>
    <tbody>
        <?php foreach ($notes as $key => $item):
        ?>

        <tr>
            <td><?php  echo $key+1; ?></td>
            <td><?php  echo date("Y-m-d H:i", $item['times']); ?></td>
            <td><a href="/s/<?php  echo $item['id']; ?>" target="_blank"><?php echo $item['adsent']['0']; ?> <?php echo $item['region_name']; ?></a></td>
            <td>от <?php  echo $item['minprice']; ?> до <?php  echo $item['maxprice']; ?></td> 
            <td>до <?php  echo $item['currency']['0']; ?></td> 
        </tr>
        <?php endforeach;?>
    </tbody>
</table>
